package com.music.dao;

import com.music.entity.FriendUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CmFriendMapper {
    int insertFriend(@Param("uId") Integer uId,@Param("uaId") Integer uaId);

    List<FriendUser> findNameById();
    List<FriendUser> findFriendByUid(@Param("uId")Integer uId);

    int deleteFriendByUaid(@Param("uaId") Integer uaId,@Param("uId")Integer uId);
}
